#ifndef CONTACTLISTITEM_H
#define CONTACTLISTITEM_H

#include "contactinfo.h"

#include <QWidget>
#include <QWidget>
#include <QLabel>
#include <QEvent>
class ContactListItem : public QWidget
{
    Q_OBJECT
public:
    explicit ContactListItem(QWidget *parent = nullptr);
    void initUi();
    QWidget *avatar;
    QLabel *nickName;
    QLabel *hostName;
    QString avatarPath;
    ContactInfo  *contactInfo=nullptr;
    bool eventFilter(QObject *obj, QEvent *event);
signals:

};

#endif // CONTACTLISTITEM_H
